package com.xkdx.guangguang.fragment.brand.search;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;

public class SearchBrandAction extends AbsAction {
	String Keywords, BrandTag;

	public SearchBrandAction(String Keywords, String BrandTag) {
		this.Keywords = Keywords;
		this.BrandTag = BrandTag;
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("DeviceID", "2");
		map.put("Keywords", Keywords);
		map.put("BrandTag", BrandTag);
		map.put("PageIndex", "1");
		map.put("PageSize", "6000");
		String json = constructJson(map);
		Parameter parameter = new Parameter("brandInterface", "searchBrandList", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}

}
